package com.seaboxdata.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.seaboxdata.entity.DataShareInfo;

import java.time.LocalDate;
import java.util.List;
import org.springframework.web.bind.annotation.GetMapping;

public interface DataShareInfoService extends IService<DataShareInfo> {

    List<DataShareInfo> getDataShareDbInfo();

    String getDataSharedSize();

    String getSpaceSizeByTable(String tableName);

    /**
     * 获取实时总数据量
     */
    List<DataShareInfo> getActualTimeDataInfo();

    /**
     * 获取实时表数据量
     *
     * @return
     */
    Integer getTableSizeByTable(String tableName);


    /**
     * 获取数据汇聚表空间
     *
     * @return
     */
    String getMppDbSpaceDataInfo();
}
